package com.zhuss.core.db.dao.ext;

import com.zhuss.core.db.entity.Information;
import com.zhuss.bean.bo.core.information.SearchInformationBo;
import com.zhuss.bean.vo.core.information.ListInformationVo;
import com.zhuss.bean.vo.core.information.DetailInformationVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.core.db.dao.gen.*;

/**
 * @description: 通知公告数据库Dao
 * @author: zhushanshuo
 * @create: Tue Feb 02 15:16:28 CST 2021
 **/

@Mapper
public interface InformationDao extends InformationMapper {
	
	void create(Information record);
	
	void delete(Information record);

	List<Information> listAll();

	List<Information> listById(@Param("informationIdList") List<Long> informationIdList);
	
	List<Information> listByName(@Param("name") String name);
	
	List<ListInformationVo> list(SearchInformationBo bo);
	
	Integer countList(SearchInformationBo bo);

	DetailInformationVo detail(@Param("informationId") Long informationId);

}
